<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/layout.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>平方网建材网</title>
    <link href="/temp/css/iframe.css" rel="stylesheet" type="text/css" />
    <link href="/temp/css/default.css" rel="stylesheet" type="text/css" />
    <link href="/temp/css/top.css" rel="stylesheet" type="text/css" />
    <link href="/temp/css/right.css" rel="stylesheet" type="text/css" />
    <link href="/temp/css/page.css" rel="stylesheet" type="text/css" />
    <link href="/temp/scripts/jqtransformplugin/jqtransform.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/common/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="/temp/scripts/jqtransformplugin/jquery.jqtransform.js"></script>
    <script src="/common/json2.js" type="text/javascript"></script>
    <script src="/common/jsmart.js" type="text/javascript"></script>
    
    <script src="/temp/scripts/default.js" type="text/javascript"></script>
    <script src="/temp/scripts/urledit.js" type="text/javascript"></script>
    <script src="/temp/scripts/search.js" type="text/javascript"></script>

    <script language="javascript">
        String.prototype.Trim = function () {
            return this.replace(/(^\s*)|(\s*$)/g, "");
        }  
        $(function () {
            $('form').jqTransform({ imgPath: 'img/' });
        });
    </script>
</head>
<body>
    <center>
        <div id="box">
            <div id="top">
                <!-- top_up -->
                <div class="top_up">
                    <div class="fl">
                        <img src="/temp/resources/images/top_up_bs.jpg" width="148" height="24">
                    </div>
                    <div class="fl top_bs_title">
                        <a href="#">旗下网站</a>
                    </div>
                    <div class="fr top_phone">
                        热线电话: 65377007*8007</div>
                </div>
                <!-- top_logo -->
                <div class="nf top_down">
                    <div class="top_left fl">
                        <div class="top_logo_up">
                            <img src="/temp/resources/images/top_logo.png" width="280" height="62" style="cursor: pointer;"
                                onclick="javascript:window.location='/home.html';" title="平方建材网">
                        </div>
                        <div class="top_logo_down">
                        </div>
                        <div class="top_up_hb">
                        </div>
                    </div>
                    <!-- top_main -->
                    <div class="top_main fl">
                        <img src="/temp/resources/images/top_center_bj.png" width="289" height="178" border="0" usemap="#Map"
                            class="ok_img">
                        <map name="Map" id="Map">
                            <area shape="rect" coords="19,73,78,93" href="#" onclick="sethome(this, window.location)"
                                title="设为首页">
                            <area shape="rect" coords="42,30,99,48" href="#" title="会员区">
                            <area shape="rect" coords="110,3,151,17" href="help.html" title="帮助">
                            <area shape="rect" coords="200,32,259,50" href="#" onclick="window.external.addFavorite('http://www.m2.com.cn','平方建材网');"
                                title="添加收藏">
                            <area shape="rect" coords="231,72,285,89" href="home.html" title="返回主页">
                        </map>
                    </div>
                    <!-- top_right -->
                    <div class="top_right fr">
                        <!-- top_right_username -->
                        <div class="top_right_yh">
                            <div class="top_right_yh">
                                <div class="quit fr">
                                    <div class="fl dl">
                                        <a style="_line-height: 18px; font-size: 13px;" href="login.html" target="_blank"
                                            id="urllogin">登录</a></div>
                                    <div class="fl zc">
                                        <a style="_line-height: 18px; font-size: 13px;" href="#">注册</a></div>
                                </div>
                                <div class="welcome fr not_login" style="font-size: 13px; color: #00A0C6;">
                                    你还未登录</div>
                            </div>
                        </div>
                        <!-- top_right_search -->
                        <div class="nf top_right_search">
                            <div>
                                <form>
                                <div class="jqTransformSelectWrappere">
                                        <select id="mainsearchtype">
                                            <option value="建材">建材</option>
                                            <option value="供应商">供应商</option>
                                        </select>
                                </div>
                                </form>
                                <div class="fl sousuo_wbk">
                                    <input name="" type="text" style="" class="top_wbk ui-autocomplete-input" id="mainsearchinput"
                                        autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true"></div>
                                <div class="fl an">
                                    <a href="#" id="mainsearch" onclick="topsearch()">快速搜索</a></div>
                            </div>
                        </div>
                        <div class="nf gjz">
                            <ul>
                                <li style="color: #8F9193">关键字</li>
                            </ul>
                        </div>
                    </div>
                    <div class="nf">
                    </div>
                    <!-- top_menu -->
                    <div class="nf top_menu">
                        <div class="top_menu_center">
                            <ul>
                                <li>
                                    <div class="lx fl">
                                    </div>
                                    <div class="fl dh">
                                        <a href="/temp/home.html">首页</a></div>
                                </li>
                                <li>
                                    <div class="lx fl">
                                    </div>
                                    <div class="fl dh">
                                        <a href="/temp/categorylist.html">材料信息</a></div>
                                </li>
                                <li>
                                    <div class="lx fl">
                                    </div>
                                    <div class="fl dh">
                                        <a href="/temp/search/supplier.html">厂商信息</a></div>
                                </li>
                                <li>
                                    <div class="lx fl">
                                    </div>
                                    <div class="fl dh">
                                        <a href="#">无忧询价</a></div>
                                </li>
                                <li>
                                    <div class="lx fl">
                                    </div>
                                    <div class="fl dh">
                                        <a href="#">快递查询</a></div>
                                </li>
                                <li>
                                    <div class="lx fl">
                                    </div>
                                    <div class="fl dh">
                                        <a href="#" id="specialmenu"></a>
                                    </div>
                                </li>
                            </ul>
                        </div>
                        <div class="top_up_zh">
                        </div>
                    </div>
                </div>
            </div>
            <!-- InstanceBeginEditable name="EditMain" -->
			            <!-- main -->
            
            <input type="hidden" value="5" id="AdsTime"/>
            <link href="/temp/css/sliderPartial.css" rel="stylesheet" type="text/css" />
            <script src="/temp/scripts/sliderPartial.js" type="text/javascript"></script>
            <script src="/temp/scripts/fansflash.js" type="text/javascript"></script>
            <div id="main">
                <!-- main_left -->
                <div id="left" class="fl">
                    <div>
                        <div class="left_rad fl">
                            <div class="left_yad_tp">
                            	<a href="http://xunjia.m2.com.cn" target="_blank"><img src="/temp/resources/images/ads/home/wyxj.jpg" width="198" height="275" border="0" /></a>
                       		</div>
                        </div>
                        <div class="left_lad fl">
                            <div id="column1" class="tsSlide">
                                <div id="ibanner">
                                    <div id="ibanner_pic">
                                       
                                            <a href="http://www.sh-xieli.com.cn" alt="上海协丽建材有限公司" target="_blank">
                                                <img src="/temp/resources/images/ads/home/roll/kl.jpg" alt="上海协丽建材有限公司"  width="490"/>
                                            </a>
                                                
                                            <a href="http://www.fe-cable.com" alt="远东电缆" target="_blank">
                                                <img src="/temp/resources/images/ads/home/roll/yddl.jpg" alt="远东电缆"  width="490"/>
                                            </a>
                                            
                                            <a href="http://www.cdn.cc/brand/index.html" alt="西顿照明" target="_blank">
                                                <img src="/temp/resources/images/ads/home/roll/xdzm.jpg" alt="西顿照明"  width="490"/>
                                            </a>
                                               
                                            <a href="http://mengtai.jiuxing.com.cn/store/22956.html" alt="上海宁祥管业" target="_blank">
                                                <img src="/temp/resources/images/ads/home/roll/dgwfPP.jpg" alt="上海宁祥管业"  width="490"/>
                                            </a>
                                            
                                            <a href="http://mengtai.jiuxing.com.cn/index.jsp" alt="蒙泰机电" target="_blank">
                                                <img src="/temp/resources/images/ads/home/roll/mtjd.jpg" alt="蒙泰机电"  width="490"/>
                                            </a>
                                            
                                            <a href="/temp/supplierinfo.html?id=上海百思达电器有限公司电" alt="上海百思达电器有限公司电" target="_blank">
                                                <img src="/temp/resources/images/ads/home/roll/bsd.jpg" alt="上海百思达电器有限公司"  width="490"/>
                                            </a>
                                            
                                            <a href="http://www.marleymep.com.cn/" alt="艾斯比特制热电器有限公司" target="_blank">
                                                <img src="/temp/resources/images/ads/home/roll/esbt.jpg" alt="艾斯比特制热电器有限公司"  width="490"/>
                                            </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                         
                        
                        <div class="left_ad nf" style="margin-top:10px;">
                        <div id="flashcontent01"></div>
                        <script type="text/javascript">
                            var speed = 4000;
                            var pics = '/temp/resources/images/ads/home/roll_s/home1.jpg|/temp/resources/images/ads/home/roll_s/home2.jpg';
                            var mylinks = 'http://www.jiuxing.com.cn/store/23169.html|http://www.fe-cable.com';
                            var texts = '|'; /* 无标题 */
                            var sohuFlash2 = new sohuFlash("/temp/resources/lanren1.swf", "flashcontent01", "700", "95", "5", "#ffffff");
                        
                            sohuFlash2.addParam("quality", "medium");
                            sohuFlash2.addParam("wmode", "opaque");
                            sohuFlash2.addVariable("speed", speed);
                            sohuFlash2.addVariable("p", pics);
                            sohuFlash2.addVariable("l", mylinks);
                            sohuFlash2.addVariable("icon", texts);
                            sohuFlash2.write("flashcontent01");
                        </script>	
                        </div>

                    </div>
                    <div>
                        <div class="left_menu">
        <div class="left_menu_left fl">
        </div>
        <div class="left_menu_center fl">
            <div class="left_menu_center_bt">
                <div class="fl">
                    材料展示</div>
                <div class="fr left_menu_more">
                    <a href="categorylist.html">更多&gt;&gt;</a></div>
            </div>
        </div>
        <div class="left_menu_right fr">
        </div>
        <!-- left_menu_nr -->
        <div class="left_show_nr nf">
            <ul id="categorylist">
            </ul>
        </div>
    </div>
    <div class="left_qb nf">
        <div class="left_qb_left fl">
        </div>
        <div class="left_qb_center fl">
            <a href="categorylist.html">显示全部分类</a>
        </div>
        <div class="left_qb_right fr">
        </div>
    </div>
                    </div>
                </div>
                <div id="right" class="fl">
                    <div class="right_user">
                        <div class="right_dl">
                            <form method="post" action="/Account/LogOn" id="logonform" class="jqtransformdone">
                            <div class="right_user_nr">
                                <div class="yhwbk fl">
                                    <div class="fl right_yhm">
                                        用户名</div>
                                    <div class="fl right_user_wbk">
                                        <input name="UserName" type="text" class="right_wbk" tabindex="1"></div>
                                </div>
                                <div class="fl right_an">
                                    <a href="/index2.html" target="_blank" class="right_blue_an right_green_an" tabindex="3">
                                        登录</a></div>
                                <div class="nf">
                                </div>
                            </div>
                            <div class="right_user_nr">
                                <div class="yhwbk fl">
                                    <div class="fl right_yhm">
                                        密&nbsp;&nbsp;&nbsp;&nbsp;码</div>
                                    <div class="fl right_user_wbk">
                                        <input name="Password" type="password" class="right_wbk" tabindex="2"></div>
                                </div>
                                <div class="fl">
                                    <a href="#" class="right_green_an" tabindex="4">注册</a></div>
                                <div class="nf">
                                </div>
                            </div>
                            </form>
                        </div>
                        <!-- phone -->
                        <div class="nf rx">
                            <div class="right_phone">
                                忘记密码请拨打热线电话：65377007*8007
                            </div>
                        </div>
                    </div>

                    <div class="member">
                        <div class="member_title">
                            <div class="fl member_title_left">
                                会员正在......</div>
                            <div class="fr member_title_right">
                                <a href="http://itc.m2.com.cn:8080/itcpassport/index.php?app=passport&amp;c=index&amp;ac=regedit">
                                    加入我们</a></div>
                        </div>
                        <div class="nf member_nr">
                            <marquee scrollamount="2" direction="up" onmouseover="stop();" onmouseout="start();">
                                                 <ul id="infolist">
                                                 </ul>
                                                 </marquee>
                        </div>
                        <div class="member_titletwo">
                            <div class="member_title_left">
                                公告消息</div>
                            <div class="member_enquiry" id="noticelist">
                            </div>
                        </div>
                    </div>

                    <div class="right_zxjm" style="margin-top: 10px; height: 310px;">
                        <div class="right_zxjm_title">
                            高级搜索</div>
                        <div class="gjss_nr">
                            <form action="#" method="post" >
                            <div class="fl gjss_wz">
                                材料名称</div>
                            <div class="fl">
                                <input id="searchName" type="text" class="gjss_wbk" maxlength="50"></div>
                            <div class="nf">
                            </div>
                            <div class="fl gjss_wz">
                                品牌</div>
                            <div class="fl">
                                <input id="searchBrand" name="" type="text" class="gjss_wbk" maxlength="50"></div>
                            <div class="nf">
                            </div>
                            <div class="fl gjss_wz">
                                规格型号</div>
                            <div class="fl">
                                <input id="searchSpec" name="" type="text" class="gjss_wbk" maxlength="50"></div>
                            <div class="nf">
                            </div>
                            <div class="fl gjss_wz">
                                厂商名</div>
                            <div class="fl">
                                <input id="searchManufacturer" name="" type="text" class="gjss_wbk" maxlength="50"></div>
                            <div class="nf">
                            </div>
                            <div class="fl gjss_wz">
                                价格(元)</div>
                            <div class="fl" style="width: 168px;">
                                <div class="fl">
                                    <span onclick="javascript:alert('请登录');">
                                        <input class="jg_wbk" maxlength="50" id="searchlPrice" onkeyup="value=value.replace(/[^\d]/g,'')"
                                            onbeforepaste="clipboardData.setData('text', clipboardData.getData('text').replace(/[^\d]/g, ''))"
                                            name="" type="text" disabled="true"></span>
                                </div>
                                <div class="fl gjss_x">
                                    <img src="/temp/resources/images/jg_x.jpg"></div>
                                <div class="fl">
                                    <span onclick="javascript:alert('请登录');">
                                        <input class="jg_wbk" maxlength="50" id="searchhPrice" onkeyup="value=value.replace(/[^\d]/g,'')"
                                            onbeforepaste="clipboardData.setData('text', clipboardData.getData('text').replace(/[^\d]/g, ''))"
                                            name="" type="text" disabled="true"></span>
                                </div>
                                <div class="nf">
                                </div>
                            </div>
                            <div class="nf">
                            </div>
                            <div class="fl gjss_wz">
                                日期范围</div>
                            <div class="fl">
                                <div class="jqTransformSelectWrappere">


                                        <select id="searchDate" style="width: 140px;">
                                            <option value="">不限</option>
                                            <option value="7">一周之内</option>
                                            <option value="14">两周之内</option>
                                            <option value="30">一月之内</option>
                                            <option value="365">一年之内</option>
                                        </select>
                                </div>
                            </div>
                            <div class="nf">
                            </div>
                            <div class="fl gjss_wz">
                            </div>
                            <div class="fr">
                                <input name="" type="button" value="" id="search_require" class="gjss_an"  onclick="productsearch()"></div>
                            <div class="nf">
                            </div>
                            </form>
                        </div>
                    </div>
                    
                    <!--最新加盟-->
                    <div class="right_zxjm right_jmxx" style="margin-top: 10px;">
                        <div class="right_zxjm_title">
                            最新加盟</div>
                        <div class="right_zxjm_nr right_jmzx">
                            <div class="right_jmxx_nr">
                                <marquee scrollamount="2" direction="up" onmouseover="stop();" onmouseout="start();">
                                
                                                      <ul id="newsupplierlist">
                                                   </ul>
                                </marquee>
                            </div>
                            <div class="right_zxjm_more">
                                <a href="/temp/search/supplier.html">更多&gt;&gt;</a></div>
                            <div class="nf right_gg">
                                <a href="/temp.help.html#g" target="_blank">
                                    <img src="/temp/resources/images/right_gg.jpg" width="270" height="100" border="0" alt=""></a>
                            </div>
                        </div>
                    </div>
					
                    
                    <!--推荐企业-->
                    <iframe allowtransparency="true" src="/temp/partial/recsupplier.html" frameborder="0" id="enterprise_iframe" scrolling="no"></iframe>

                </div>
            </div>
            <div class="nf">
                <div class="gz_tp nf">
                	<ul>
                    	<li><a href="http://www.shchint.com" target="_blank"><img src="/temp/resources/images/ads/home/small/ztdq.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.yin-su.com/ " target="_blank"><img src="/temp/resources/images/ads/home/small/yssy.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.m2.com.cn/Manufacturer/Index?mId=2539"><img src="/temp/resources/images/ads/home/small/abmy.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.m2.com.cn/Manufacturer/Index?mId=7971"><img src="/temp/resources/images/ads/home/small/sfwc.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.m2.com.cn/Manufacturer/Index?mId=8001"><img src="/temp/resources/images/ads/home/small/scdq.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.m2.com.cn/Manufacturer/Index?mId=7942"><img src="/temp/resources/images/ads/home/small/dptc.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.m2.com.cn/Manufacturer/Index?mId=7855"><img src="/temp/resources/images/ads/home/small/tqby.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.juguanvalve.com/" target="_blank"><img src="/temp/resources/images/ads/home/small/jgfm.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.teilei.com/index.html" target="_blank"><img src="/temp/resources/images/ads/home/small/tlsy.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.shste.com.cn/" target="_blank"><img src="/temp/resources/images/ads/home/small/stdq.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.jingyuegroup.com" target="_blank"><img src="/temp/resources/images/ads/home/small/shjy.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.shkangda.com/" target="_blank"><img src="/temp/resources/images/ads/home/small/kdby.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.li-ao.net/" target="_blank"><img src="/temp/resources/images/ads/home/small/lawj.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.m2.com.cn/Manufacturer/Index?mId=7875"><img src="/temp/resources/images/ads/home/small/gyjc.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.m2.com.cn/Manufacturer/Index?mId=7883"><img src="/temp/resources/images/ads/home/small/cwwz.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.m2.com.cn/Manufacturer/Index?mId=7889"><img src="/temp/resources/images/ads/home/small/shtzsn.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.m2.com.cn/Manufacturer/Index?mId=7899"><img src="/temp/resources/images/ads/home/small/shyt.jpg" width="156" height="65" border="0" alt=""></a></li>
                        <li><a href="http://www.m2.com.cn/Manufacturer/Index?mId=7940"><img src="/temp/resources/images/ads/home/small/xytc.jpg" width="156" height="65" border="0" alt=""></a></li>
                    </ul>
                </div>
                <div class="gz nf" style="height:0;">
                  </div>
            </div>
            <div class="nf">
				<div class="yqlj">
           			<div class="yqlj_menu">
             			<div class="yqlj_menu_left fl"></div>
		                <div class="yqlj_menu_center fl">
        	            	<div class="yqlj_menu_center_bt">合作伙伴</div>
            		    </div>
	                    <div class="yqlj_menu_right fr"></div>
    	            </div>           
	            	<div class="nf yqlj_nr">
	    			   	<div style="WIDTH: auto; HEIGHT: 80px;padding-left:25px;" class="fl yqlj_nr_left">
                         	<a href="http://www.glodon.com/" target="_blank"><img border="0" alt="" src="/temp/resources/images/ads/home/coo/Glodon.png" width="186" height="67"></a> 
                            <a href="http://www.shinedeliver.com/" target="_blank"><img border="0" alt="" src="/temp/resources/images/ads/home/coo/Shinedeliver.png" width="186" height="67"></a> 
                            <a href="http://www.bitaec.com/" target="_blank"><img border="0" alt="" src="/temp/resources/images/ads/home/coo/Bitaec.png" width="186" height="67"></a>
                            <a href="http://www.fwxgx.com/" target="_blank"><img border="0" alt="" src="/temp/resources/images/ads/home/coo/Service.png" width="186" height="67"></a>
                            <a href="http://www.gplcn.com/" target="_blank"><img border="0" alt="" src="/temp/resources/images/ads/home/coo/Gpl.png" width="186" height="67"></a>
                        </div>
				    </div>
    	        </div>
            </div>
            
            	<!--数据绑定模板  分类-->
            	<script id="category" type="text/x-jsmart-tmpl">  
					{foreach $rows as $j => $firstcategory}
						{if ($j %2 != 0)}						
                        {$newtop = (($j-1) / 2) * 120 + 700;}
                        {$_newtop = (($j-1) / 2) * 120 + 710;}
						{else}	
                        {$newtop = ($j / 2) * 120 + 700;}
                        {$_newtop = ($j / 2) * 120 + 710;}
						{/if}
                        {$pos_y = $newtop + "px";}
                        {$_pos_y = $_newtop + "px";}
                        {$newleft = "";}
                        {$_newleft = "-682px";}
                        {$newleft7 = "-693px";}
                        {if ($j % 2 == 1)}
                            {$newleft = "346px";}
                            {$_newleft = "-331px";}
                            {$newleft7 = "-346px";}
						{/if}
						<li class="normal">			
							<div class="left_show_title">			
								<a href="/search/product?code={$firstcategory.value.code}" title="{$firstcategory.value.name}">{$firstcategory.value.name}</a></div>			
							<div class="left_show_wz">			
								{foreach $firstcategory.value.childs as $name => $secondcategory}			
								<a href="/search/product?code={$secondcategory.code}" title="{$secondcategory.name}">{$secondcategory.name}</a>			
								{/foreach}			
							</div>			
						</li>		
						<li class="left_show_xx" style="position: absolute;top:{$pos_y};_top:{$_pos_y};margin-left:{$newleft};height:auto; *+margin-left:{$newleft7}; -margin-left:{$_newleft};display:none; ">
                            <div class="left_show_title left_show_xx_bt">
                                <a href="/search/product?code={$firstcategory.value.code}" title="{$firstcategory.value.name}">{$firstcategory.value.name}</a></div>
                            <div class="left_show_wz left_show_xx_nr" style="height:auto;">
								{foreach $firstcategory.value.childs as $name => $secondcategory}			
									<a href="/search/product?code={$secondcategory.code}" title="{$secondcategory.name}">{$secondcategory.name}</a>			
								{/foreach}
                            </div>
                        </li>	
					{/foreach}			
				</script>
                
                <!--数据模板绑定 最近信息-->
                <script  id="info" type="text/x-jsmart-tmpl">
					{foreach $rows as $j => $info}
						<li><a href="#">{$info.value.create_at}, {$info.value.username} {$info.value.msg}</a> </li>       
					{/foreach}
				</script>
                
                <!--数据模板绑定 公告-->
                <script  id="notice" type="text/x-jsmart-tmpl">
					{foreach $rows as $j => $notice}
						<div>
                             <a href="/temp/notice/info.html?id={$notice.value._id}" target="_blank" title="{$notice.value.title}" style="color:#000;width:236px;overflow:hidden;white-space:nowrap;word-break:keep-all;">{$notice.value.title}</a>
                        </div> 
					{/foreach}
					<div class="right_gz_more"><a href="/temp/notice/list.html">更多&gt;&gt;</a></div>
				</script>
                
                <!--数据模板绑定 最新加盟-->
                <script  id="newsupplier" type="text/x-jsmart-tmpl">
				{foreach $rows as $j => $supplier}
					<li><a href="/temp/supplierinfo.html?id={$supplier.id}" target="_blank" title="{$supplier.value}">{$supplier.value}</a></li>
				{/foreach}
				</script>
            
            <script>
				var current = $(".top_menu_center ul li")[0].children[1].children[0];
				$(current).addClass("current hasCurrent");
			
				$("#logonform .right_wbk").keypress(function (event) {
					var keyCode = event.which;
					if (keyCode == 13) {
						$("#logonform").submit();
					}
				})
				$(".left_show_xx").hide();
				$(".normal .left_show_title").live("mouseenter", function () {
					$(".left_show_xx").hide();
					var temp = $(this).parent().next();
					$(this).parent().next().show();
				});
			
				$(".normal .left_show_wz").live("mouseenter", function () {
					$(".left_show_xx").hide();
					var temp = $(this).parent().next();
					$(this).parent().next().show();
				});
				$(".left_show_xx").live("mouseleave", function () {
					$(this).hide();
				})
				
				$(document).ready(
					function(){
						//常用分类
						$.ajax({
							url: '/service/_view/getCategory?reduce=false&limit=14',
							type: 'GET',
							dataType: 'json',
							success:function(data){
								var tpl = new jSmart(document.getElementById('category').innerHTML);
								var res = tpl.fetch(data);
								$("#categorylist").html(res);
							}
						});
						
						//最近信息
						$.ajax({
							url: '/service/_view/getNewestMsg?reduce=false&descending=true&limit=20',
							type: 'GET',
							dataType: 'json',
							success:function(data){
								var tpl = new jSmart(document.getElementById('info').innerHTML);
								var res = tpl.fetch(data);
								$("#infolist").html(res);
							}
						});
						
						//公告
						var date = formatDate(new Date(), 'yyyy-MM-dd');
						$.ajax({
							url: '/service/_view/getNewestNotice?reduce=false&startkey=["1",{}]&endkey=["1","' + date + '"]&descending=true&limit=3',
							type: 'GET',
							dataType: 'json',
							success:function(data){
								var tpl = new jSmart(document.getElementById('notice').innerHTML);
								var res = tpl.fetch(data);
								$("#noticelist").html(res);
							}
						});
						
						//最新加盟
						$.ajax({
							url: '/service/_view/getNewestSupplier?reduce=false&descending=true&limit=20',
							type: 'GET',
							dataType: 'json',
							success:function(data){
								var tpl = new jSmart(document.getElementById('newsupplier').innerHTML);
								var res = tpl.fetch(data);
								$("#newsupplierlist").html(res);
							}
						});
					}
				);
			</script>
			<!-- InstanceEndEditable -->
            <script id="page" type="text/x-jsmart-tmpl">
				<div class="page">
					<div class="pagination">
						{if $pagecount > 1}			
							<a class="pageNum"><b>
							{$currentpage}
							</b>/<b>
							{$pagecount}
							</b></a>	
							{if (1 != $currentpage)}
								<a href="{urlset('pageIndex', 1)}" class="first">首页</a>
								<a href="{urlset('pageIndex', $currentpage-1)}" class="prev">上一页</a>
							{/if}	
							
							{for $i=$start to $end}
								{if ($i == $currentpage)}
									<span class="current">{$i}</span>
								{else}
									<a href="{urlset('pageIndex', $i)}">{$i}</a>
								{/if}
							{/for}
							
							{if ($pagecount != $currentpage)}
								<a href="{urlset('pageIndex', $currentpage+1)}" class="first">下一页</a>
								<a href="{urlset('pageIndex', $pagecount)}" class="last">尾页</a>
							{/if}	
						{/if}
					</div>
				</div>
			</script>            
            <script id="count" type="text/x-jsmart-tmpl">
			共 {$rows.length} 条记录
			</script>    
            <script id="searchcount" type="text/x-jsmart-tmpl">
			共 {$result.hits.total} 条记录
			</script>
            <div class="nf">
            <iframe allowtransparency="true" src="/temp/partial/bottom.html" frameborder="0" id="bottom_iframe" scrolling="no"></iframe>
            </div>
        </div>
    </center>
</body>
<!-- InstanceEnd --></html>
